
<div class="bjui-pageHeader">
<form id="pagerForm" data-toggle="ajaxsearch" action="__URL__" method="post">
    
    <input type="hidden" name="pageSize" value="{$numPerPage}">
    <input type="hidden" name="pageCurrent" value="{$_REQUEST['pageNum']|default=1}">
     
        <div class="bjui-searchBar">
              <php>if(display(CONTROLLER_NAME.'/del')){</php><span style="float:right;" ><a href="__URL__/del/navTabId/{:CONTROLLER_NAME}" class="btn btn-red" data-toggle="doajax" data-confirm-msg="确定要清理吗？" data-icon="remove">清理</a></span><php>}</php>
              <label>关键词：</label><input type="text" value="{$_REQUEST['keys']}" name="keys" class="form-control" size="15" />
             <button type="submit"  class="btn-default" data-icon="search">查询</button>
              <php>if(display(CONTROLLER_NAME.'/add')){</php><span style="float:right;margin-right:5px;"><a href="__URL__/add/navTabId/{:CONTROLLER_NAME}" class="btn btn-green" data-toggle="dialog" data-width="900" data-height="500" data-id="dialog-mask" data-mask="true" data-icon="plus">新增</a></span><php>}</php>
              <span><a class="btn btn-orange" href="javascript:;" onclick="$(this).navtab('reloadForm', true);" data-icon="undo">刷新</a></span>
        </div> 
</form>
    
</div>
<div class="bjui-pageContent tableContent">
     <table data-toggle="tablefixed" data-width="100%" data-layout-h="0" data-nowrap="true">
        <thead>
            <tr>
            <th width="30" height="30"></th>
            <th>黑名单号</th>
            <th>用户id</th>
            <th>姓名</th>
            <th>手机号</th>
            <th>身份证号</th>
            <th>被加原因</th>
            <th>操作人</th>
            <th>添加时间</th>
            <php>if(display(CONTROLLER_NAME.'/lock')){</php><th>状态</th><php>}</php>
            <php>if(display(CONTROLLER_NAME.'/view')){</php><th width="40">操作</th><php>}</php>
            </tr>
        </thead>
        <tbody>

       <foreach name="list" item="v">
        <tr>
        <td height=25></td>
        <Td>{$v.id}</td>
        <Td>{$v.uid}</td>
        <Td>{$v.user_name}</td>
        <Td>{$v.mobile}</td>
        <Td>{$v.user_idcard}</td>
        <Td style="overflow: hidden;text-overflow:ellipsis;white-space: nowrap;">{$v.desc}</td>
        <Td>{$v['create_uid']['truename']}</td>
        <Td><?php echo date("Y-m-d H:i:s",$v['times'])?></td>

          <php>if(display(CONTROLLER_NAME.'/lock')){</php><td><a href="__URL__/lock/id/{$v['id']}/navTabId/{:CONTROLLER_NAME}" data-toggle="doajax" data-confirm-msg="确定要操作吗？"><if condition="$v.status EQ 1 "><img src="__PUBLIC__/images/ok.gif" border="0"/><else/><img src="__PUBLIC__/images/locked.gif" border="0"/></if></a></td><php>}</php>
           <php>if(display(CONTROLLER_NAME.'/view')){</php><td><a href="__URL__/view/id/{$v['id']}/navTabId/{:CONTROLLER_NAME}"  data-toggle="dialog" data-width="900" data-height="500" data-id="dialog-mask" data-mask="true" >详细</a></td><php>}</php>
           </td>
        </tr>
        </foreach>
        </tbody>
    </table>
</div>
<div class="bjui-pageFooter">
        <div class="pages">
            <span>共 {$totalCount} 条  每页 {$numPerPage} 条</span>
        </div>
        <div class="pagination-box" data-toggle="pagination" data-total="{$totalCount}" data-page-size="{$numPerPage}" data-page-current="{$currentPage}">
        </div>
</div>